<template>
	<view>
		<view class="addbutton" @click="addstandard">
			新增标准
		</view>
		<view style="height: 100rpx;">

		</view>
		<view class="box" v-for="(item,index) in 2" :key="index">
			<view class="title">
				标准一
			</view>
			<view class="boxs">
				<view class="left">
					底薪
				</view>
				<view class="right">
					2000元人民币
				</view>
			</view>
			<view class="boxs">
				<view class="left">
					业绩提成
				</view>
				<view class="right">
					2000元人民币
				</view>
			</view>
			<view class="boxs">
				<view class="left">
					手工费
				</view>
				<view class="right">
					50元人民币
				</view>
			</view>
			<view class="boxs">
				<view class="left">
					全勤
				</view>
				<view class="right">
					200元人民币
				</view>
			</view>
			<view class="boxs">
				<view class="left">
					保底
				</view>
				<view class="right">
					5000元人民币
				</view>
			</view>
			<view class="button">
				<view class="left">
					修改
				</view>
				<view class="right">
					删除
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},

		methods: {
			//新增标准
			addstandard() {
				uni.navigateTo({
					url:"../addstandard/addstandard"
				})
			},

		}
	}
</script>

<style lang="scss">
	page {
		background-color: #f2f2f2;
	}

	.addbutton {
		width: 160rpx;
		height: 60rpx;
		border-radius: 50rpx;
		background-color: #f49c1c;
		color: #FFFFFF;
		display: flex;
		align-items: center;
		justify-content: center;
		margin: 20rpx 40rpx;
		float: right;

	}

	.box {
		width: 90%;
		background-color: #FFFFFF;
		border-radius: 20rpx;
		padding: 0 20rpx;
		margin: 20rpx auto;

		.title {
			font-size: 30rpx;
			font-weight: 550;
			border-bottom: 1rpx solid #ECECEC;
			padding: 20rpx;
		}

		.boxs {
			display: flex;
			align-items: center;
			margin: 20rpx 0;

			.left {
				margin-right: 40rpx;
				color: #a6a097;
			}
		}

		.button {
			display: flex;
			align-items: center;
			justify-content: flex-end;
			padding: 20rpx 0;

			.left {
				width: 124rpx;
				height: 52rpx;
				background-color: #f49c1c;
				border-radius: 27rpx;
				color: #FFFFFF;

			}

			.left,
			.right {
				display: flex;
				align-items: center;
				justify-content: center;
				margin: 0 20rpx;
			}

			.right {
				width: 124rpx;
				height: 52rpx;
				background-color: #eb673f;
				border-radius: 27rpx;
				color: #FFFFFF;
			}
		}
	}
</style>
